<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/1/28
  Time: 19:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="zh">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <title>图书馆座位预约系统</title>
    <link href="css/bootstrap.min.css" rel="stylesheet">
    <link href="css/materialdesignicons.min.css" rel="stylesheet">
    <link href="css/style.min.css" rel="stylesheet">
    <link href="css/login.css" rel="stylesheet">
    <script src="js/jquery.min.js"></script>
    <script src="js/Customize/register.js"></script>
    <script src="js/validate.min.js"></script>
</head>
<body style="background-image: url(img/loginbg2.jpg); background-size: cover;" onload="show()">
<div class="bg-translucent p-10">
    <div class="login-box bg-white clearfix">
        <div class="login-left">
            <p align="center">图书馆座位预约系统</p>
            <form action="common" method="post" id="registerForm">
                <input type="hidden" value="register" name="method">
               <table>
                   <tr><td>账号</td>
                       <td>
                           <div class="form-group has-feedback feedback-left">
                               <input type="text" name="account" id="account" placeholder="请输入您的账号" class="form-control" onchange="Test1($('#account').val())"/>
                               <span class="mdi mdi-account form-control-feedback" aria-hidden="true"></span>
                           </div>
                       </td>
                       <td><label for="account" class="error"></label></td>
                   </tr>
                   <tr><td>用户名</td>
                       <td>
                       <div class="form-group has-feedback feedback-left">
                           <input type="text" name="username" id="username" placeholder="请输入您的姓名" class="form-control"/>
                           <span class="mdi mdi-account form-control-feedback" aria-hidden="true"></span>
                       </div>
                       </td>
                       <td><label for="username" class="error"></label></td>
                   </tr>
                   <tr><td>密码</td>
                       <td>
                           <div class="form-group has-feedback feedback-left">
                               <input type="password" name="password" id="password" placeholder="请输入密码" class="form-control"  />
                               <span class="mdi mdi-lock form-control-feedback" aria-hidden="true"></span>
                           </div>
                       </td>
                       <td><label for="password" class="error"></label></td>
                   </tr>
                   <tr><td>确认密码</td>
                       <td>
                           <div class="form-group has-feedback feedback-left">
                               <input type="password" name="password2" id="password2" placeholder="请再次输入密码" class="form-control"  />
                               <span class="mdi mdi-lock form-control-feedback" aria-hidden="true"></span>
                           </div>
                       </td>
                       <td><label for="password2" class="error"></label></td>
                   </tr>
                   <tr><td>电话号码</td>
                       <td>
                           <div class="form-group has-feedback feedback-left">
                               <input type="text" name="phone" id="phone" placeholder="请输入电话号码" class="form-control"  />
                               <span class="mdi mdi-cellphone-basic form-control-feedback" aria-hidden="true"></span>
                           </div>
                       </td>
                       <td><label for="phone" class="error"></label></td>
                   </tr>
               </table>
                <div class="form-group">
                    <input type="submit" class="btn btn-block btn-primary" value="注册"/>
                </div>
            </form>
            <a class="btn btn-block btn-primary" href="index.jsp">登录</a>
        </div>
    </div>
</div>
</body>
</html>